﻿using System;
using System.Runtime.Serialization;
using BoneSystem.Business.Enum;
using BoneSystem.Business.Interfaces;

namespace BoneSystem.Business.Entity
{
    [Serializable]
    [DataContract]
    public class PropertiesBase :IPropertieBase
    {
        [DataMember]
        public virtual int Id { get; set; }
        [DataMember]
        public virtual Guid IdGuid { get; set; }
        public virtual DateTime DataInclusao { get; set; }
        public virtual DateTime DataAlteracao { get; set; }
        public virtual StatusEnum Status { get; set; }

        public PropertiesBase()
        {
            DataInclusao = DateTime.Now;
            DataAlteracao = DateTime.Now;
            Status = StatusEnum.Ativo;
        }
    }
}
